/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dp.vo;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 *
 * @author wyr
 */
@Entity
@Table(name = "t_tj_pltfmactuser")
//@NamedQueries({@NamedQuery(name = "TTjPltfmActUser.findAll", query = "SELECT t FROM TTjPltfmActUser t"), @NamedQuery(name = "TTjPltfmActUser.findById", query = "SELECT t FROM TTjPltfmActUser t WHERE t.id = :id"), @NamedQuery(name = "TTjPltfmActUser.findByCyear", query = "SELECT t FROM TTjPltfmActUser t WHERE t.cyear = :cyear"), @NamedQuery(name = "TTjPltfmActUser.findByCmonth", query = "SELECT t FROM TTjPltfmActUser t WHERE t.cmonth = :cmonth"), @NamedQuery(name = "TTjPltfmActUser.findByCday", query = "SELECT t FROM TTjPltfmActUser t WHERE t.cday = :cday"), @NamedQuery(name = "TTjPltfmActUser.findByChour", query = "SELECT t FROM TTjPltfmActUser t WHERE t.chour = :chour"), @NamedQuery(name = "TTjPltfmActUser.findByMpaltform", query = "SELECT t FROM TTjPltfmActUser t WHERE t.mpaltform = :mpaltform"), @NamedQuery(name = "TTjPltfmActUser.findByCiparea", query = "SELECT t FROM TTjPltfmActUser t WHERE t.ciparea = :ciparea"), @NamedQuery(name = "TTjPltfmActUser.findByUdid", query = "SELECT t FROM TTjPltfmActUser t WHERE t.udid = :udid")})
public class TTjPltfmActUser implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @Column(name = "id")
    private Integer id;
    @Column(name = "cyear")
    private String cyear;
    @Column(name = "cmonth")
    private String cmonth;
    @Column(name = "cday")
    private String cday;
    @Column(name = "chour")
    private String chour;
    @Column(name = "mpaltform")
    private String mpaltform;
    @Column(name = "ciparea")
    private String ciparea;
    @Column(name = "udid")
    private String udid;
    
    private Integer usernumber;
    
    public TTjPltfmActUser() {
    }

    public TTjPltfmActUser(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getCyear() {
        return cyear;
    }

    public void setCyear(String cyear) {
        this.cyear = cyear;
    }

    public String getCmonth() {
        return cmonth;
    }

    public void setCmonth(String cmonth) {
        this.cmonth = cmonth;
    }

    public String getCday() {
        return cday;
    }

    public void setCday(String cday) {
        this.cday = cday;
    }

    public String getChour() {
        return chour;
    }

    public void setChour(String chour) {
        this.chour = chour;
    }


    @Override
    public int hashCode() {
        int hash = 0;
        hash += (id != null ? id.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TTjPltfmActUser)) {
            return false;
        }
        TTjPltfmActUser other = (TTjPltfmActUser) object;
        if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.vo.TTjPltfmActUser[id=" + id + "]";
    }

	/**
	 * mpaltform
	 *
	 * @return  the mpaltform
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getMpaltform() {
		return mpaltform;
	}

	/**
	 * @param mpaltform the mpaltform to set
	 */
	public void setMpaltform(String mpaltform) {
		this.mpaltform = mpaltform;
	}

	/**
	 * ciparea
	 *
	 * @return  the ciparea
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getCiparea() {
		return ciparea;
	}

	/**
	 * @param ciparea the ciparea to set
	 */
	public void setCiparea(String ciparea) {
		this.ciparea = ciparea;
	}

	/**
	 * udid
	 *
	 * @return  the udid
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getUdid() {
		return udid;
	}

	/**
	 * @param udid the udid to set
	 */
	public void setUdid(String udid) {
		this.udid = udid;
	}

	/**
	 * usernumber
	 *
	 * @return  the usernumber
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public Integer getUsernumber() {
		return usernumber;
	}

	/**
	 * @param usernumber the usernumber to set
	 */
	public void setUsernumber(Integer usernumber) {
		this.usernumber = usernumber;
	}

}
